package com.github.baichuan.application.scaffold.dto.app;

import com.github.baichuan.mapping.Mapping;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;

@Schema(title = "APP表格数据")
@Getter
public class AppTableView {
    @Mapping
    private String id;

    @Schema(title = "APP名称")
    @Mapping
    private String name;

    @Schema(title = "APP编码")
    @Mapping
    private String code;

    @Schema(title = "操作系统")
    @Mapping
    private String platform;

    @Schema(title = "最新版本")
    @Mapping("latestVersion.version")
    private String latestVersion;
}
